<?php
/**
 *@file feedback.php
 *@author Zhe.Zhou(zhouzhe@haibao.com)
 *@date 2015-7-29 上午10:25:30
 *@brief  
 */
namespace haibao\app\model\data;

class Feedback extends Base{
	
	/**
	 *	内容 
	 */
	public $Content;
	
	/**
	 * 用户Id
	 */
	public $UserId;
	
	/**
	 * 问题1答案
	 */
	public $Question1;
	
	/**
	 * 问题2答案
	 */
	public $Question2;
	
	/**
	 * 邮箱
	 */
	public $Email;
	
	/**
	 * 手机型号
	 */
	public $Model;
	
	/**
	 * 创建时间
	 */
	public $CreateTime;
	
	/**
	 * 回复内容
	 */
	public $Revert;
	
	/**
	 * 回复时间
	 */
	public $RevertTime;
	
	/**
	 * 回复用户
	 */
	public $CreateBy;
	
	/**
	 * 用户名称
	 */
	public $UserName;
	
	/**
	 * 头像
	 */
	public $Avatar;
	
	public function __construct(){
		parent::__construct();
	
		$this->stringField('Content', 'Content',true);
		$this->intField('UserId', 'UserId',true);
		$this->stringField('Question1', 'Question1',true);
		$this->stringField('Question2', 'Question2',true);
		$this->stringField('Email', 'Email',true);
		$this->stringField('Model', 'Model',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->stringField('Revert', 'Revert',false);
		$this->dateField('RevertTime', 'RevertTime',false);
		$this->intField('CreateBy', 'CreateBy',false);
	
		$this->setTableName('Feedback');
	}
}